// 路由所需的页面名称记录
export default {
  namespaced:true,
  state: {
    preStageStart: "",  // 上一流程开始页面
    preStageEnd: ""   ,// 上一流程结束页面 
	loading: 'true'
  },
  getters: {

  },
  mutations: {
    updatePreStageStart(state,name){
      state.preStageStart = name;
    },
    updatePreStageEnd(state,name){
      state.preStageEnd = name;
    },
	updateLoading(state,loading){
		state.loading = loading;
	}
  },
  actions: {
    updatePreStageStart({ commit }, name) {
      commit('updatePreStageStart', name)
    },
    updatePreStageEnd({ commit }, name){
      commit('updatePreStageEnd', name)
    },
	updateLoading({ commit }, loading){
	  commit('updateLoading', loading)
	},
  }
}